package itdfq.dfq.Creational_Pattern.chouxianggongchang;

/**
 * @Author GocChin
 * @Date 2021/3/20 14:23
 * @Blog: itdfq.com
 * @QQ: 909256107
 */
public class HonorFactory implements EFactory{
    @Override
    public Phone productPhone() {
        System.out.println("华为工厂生产华为手机");
        return  new HonorPhone();
    }

    @Override
    public Watch productWatch() {
        System.out.println("华为工厂生产华为手环");
        return new HonorWatch();
    }
}
